<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta name="renderer" content="webkit">
    <link rel="Bookmark" href="favicon.ico" >
    <link rel="Shortcut Icon" href="favicon.ico" />
    <script type="text/javascript" src="public/home/js/jquery.min.js"></script>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="public/js/html5.js"></script>
    <![endif]-->
    <link href="public/home/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="public/home/css/H-ui.reset.css" rel="stylesheet" type="text/css" />
    <link href="public/home/css/animate.css" rel="stylesheet" type="text/css" />
    <link href="public/home/css/style.css" rel="stylesheet" type="text/css" /><!--自己的样式-->
    <link href="public/home/css/plugs.css" rel="stylesheet" type="text/css" /><!--自己的样式-->
    <script type="text/javascript" src="public/home/js/jquery.SuperSlide.js"></script>
      <script type="text/javascript" src="public/home/js/jquery.min.js"></script>
	<script type="text/javascript" src="public/home/js/layer/layer.js"></script>
  <?php
require ('common.inc.php');
?>
	<title><?php echo $GLOBALARR['sytitle']?></title>
    <meta name="Keywords" content="<?php echo $GLOBALARR['sytitle']?>">
    <meta name="Description" content="<?php echo $GLOBALARR['sytitle']?>">
    <style type="text/css">
        .itemlg{border: 1px solid #ccc;border-radius: 3px;}
        .itemlg:hover{border: 1px solid #8ac4fa;}
        .itemlg label{color: #413a37;line-height: 40px;text-align: left;text-indent: 40px;}
        .lgpleft{float: left;width: 290px;border: 1px solid #ccc;border-radius: 3px;}
        .lgpleft:hover{border: 1px solid #8ac4fa;}
        .lgpleft label{color: #413a37;line-height: 40px;text-align: left;text-indent: 40px;}
        .lgpright{border-radius: 5px;float:right;width:100px;}
        .iptbox{width: 100%;height: auto;overflow: hidden;position: relative;margin-bottom: 20px;}
        .iptbox .nameipt{width:100%;height: 40px;border:1px solid #8c8c8c;background: transparent;border-radius: 3px;font-size: 14px;color: #333;text-indent: 45px;}
        .iptbox .icon{position: absolute;left: 0;top: 0;z-index: 2;display: block;width: 40px;height: 40px;text-align: center;line-height: 40px;text-align: center;}
        .iptbox .icon img{vertical-align: middle;}
        .iptbox .nameipt::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
        color: #333;
        }
        .iptbox .nameipt:-moz-placeholder, textarea:-moz-placeholder {
        color: #333;
        }
        .iptbox .nameipt::-moz-placeholder, textarea::-moz-placeholder {
        color: #333;
        }
        .iptbox .nameipt:-ms-input-placeholder, textarea:-ms-input-placeholder {
        color: #333;
        }
        .login.bg-f2{padding:24px;}
        @media screen and (max-width:720px){
            .login.bg-f2{padding:20px;}
        }
        .title_login{font-size: 16px;font-weight: normal;text-align: center;margin-bottom: 18px;color:#6a6c6f;}
        .form-horizontal .form-group{margin-left:0;margin-right: 0;}
        .form-control{-webkit-box-shadow: none;box-shadow: none;border:none;border-bottom: 1px solid #eee;height: 40px;color:#999;}
    </style>
</head>

<body style="position: relative;">
<div class="w-d" style="height: auto;overflow: hidden;min-height: 90%;">
    <div class="login-box">
        <div class="login-top">
            <img src="public/home/images/sas-logo1.png" class=" animated zoomIn" alt="">
        </div>
        <form id="form1"  method="post" action="checklogin.php" onsubmit="return chklogin()" class="form-horizontal">
            <input type="hidden" name="action" value="save">
            <div class="login bg-f2 animated flipInY">
                <h3 class="title_login">用户登录</h3>
                <div class="form-group">
                    <!-- <label class="col-md-2 control-label ui-sortable">用户名</label> -->
                    <div class="ui-sortable">
                        <input placeholder="用户名" type="text" class="form-control" name="user" id="user" value="<?php echo !empty($_GET['uname']) ? $_GET['uname'] : "" ?>"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="ui-sortable">
                        <input placeholder="密码" type="password" class="form-control cpwd" name="pwd" id="pwd" />
                    </div>
                </div>
				<!--<div class="form-group">
					<label class="col-md-2 control-label ui-sortable">
						双重验证
					</label>
					<div class="col-md-9 ui-sortable">
						<input type="text" name="index_ga" value="" class="form-control" />
					</div>
				</div>
				<div style="color:red;text-align:center;font-size:12px;line-height:15px;margin-bottom:10px;">为了您的账号安全，请登录后绑定双重验证，没绑定不用输入</div>-->
                <div class="form-group">
                    <div class="ui-sortable">
                        <div class="row">
                            <div class="col-md-7 col-xs-7" style="margin-top: 5px;">
                                <input type="text" placeholder="验证码" class="form-control vcode-text cyzm" name="yzm"/>
                            </div>
                            <div class="col-md-5 col-xs-5" style="margin-top: 5px;padding-left:4px;padding-right:4px;">
                                <img src='include/code.php' onclick='this.src="include/code.php?"+Math.random()' class="yzm-img"  style='height:40px;border-radius: 3px;width:106px;' title='看不清楚点击可以刷新' >
                            </div>
                        </div>

                    </div>
                </div>

                <div class="form-group" style="margin-top: 32px;">
                    <div class="ui-sortable">
                        <input type="submit" class="denglubut" onlick value="立即登录" style="width: 100%;">
                    </div>
                </div>
               <!-- <div class="form-group">
                    <div class="col-md-9 col-md-offset-2 ui-sortable">
                        <a class="login-forget" href="editpwd.php">忘记密码</a>
                        <span style="float: right;"><a href="r1.php" class="regbut" style="color:#0888d2;font-size: 14px;">立即注册！</a></span>
                    </div>
               </div> -->
            </div>
            <div style="margin:0 auto;width: 90%;max-width: 320px;">
             <a class="login-forget" href="editpwd.php" style="color:#fff;">忘记密码 ?</a>
                        <span style="float: right;"><a href="r1.php" class="regbut login-forget" style="color:#fff;font-size: 14px;">立即注册！</a></span>
            </div>
        </form>
    </div>
</div>
<style type="text/css">
    .bigwid{width:96%;max-width:720px!important;height:480px;}
</style>
<!-- <div style="width: 100%;text-align: center;font-size: 14px;color: #fff;margin-top:30px;"><?php echo $GLOBALARR['sybottom'] ?></div> -->
<script type="text/javascript" src="/public/home/js/layer/layer.js"></script>
<script type="text/javascript">
// function chklogin(){
// 	var p1=$.trim($("#user").val());
// 	var p2=$.trim($("#pwd").val());
// 	if(p1==""){
// 		layer.alert("请输入用户名！");
// 		return false;
// 	}
// 	if(p2==""){
// 		layer.alert("请输入密码！");
// 		return false;
// 	}
// 	return true;
// }

</script>
<script type="text/javascript">
window.onload=function(){
    // wenxintishi();
}
function changecaptcha(){
	$(".yzm-img").click();

}
function wenxintishi(){
        layer.open({
                type: 1,
                title: ['温馨提示', 'font-size:14px;background-color:#f0f0f0;color:#333;'],
                closeBtn: 0, //不显示关闭按钮
                shift: 2,
                skin:"bigwid",
                shadeClose: true, //开启遮罩关闭
                btn: ['确定'],
                content: $('#tishi')
            });
}
</script>
<div style="display:none;" id="tishi" >
       <div style="padding:10px;font-size:12px;color: #888;line-height: 20px;">

       </div>
</div>
</body>
</html>